what is the program to find area and perimeter of rectangle